<?php

namespace App\Http\Controllers\Home;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Models\Note;

class NoteController extends Controller
{
    /**
     * 展示全部笔记
     *
     * @return \Illuminate\Http\Response
     */
    public function manage()
    {
        return view('home.note.manage',compact());
    }

    /**
     * 新建笔记
     *
     * @return \Illuminate\Http\Response
     */
    public function create()
    {
        return view('home.note.create');
    }

    /**
     * 存储笔记.
     *
     * @param  \App\Http\Requests\Note\Store $request
     * @return \Illuminate\Http\Response
     */
    public function store(Store $request)
    {
        // return redirect()->route('note.manage');
    }
}
